const express = require('express')
const app = express()

app.get('/', function (req, res) {
    res.send('xxxx')
})

app.get('/users/:name', function (req, res) {
    res.send('hello, ' + req.params.name)
  })
  
app.listen(3001)